projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ced831
)
(Fbyte_code): Fsub1 can GC, so protect it.
author
Miles Bader
<miles@gnu.org>
Mon, 26 Aug 2002 07:37:19 +0000
(07:37 +0000)
committer
Miles Bader
<miles@gnu.org>
Mon, 26 Aug 2002 07:37:19 +0000
(07:37 +0000)
src/bytecode.c
patch
|
blob
|
history
diff --git
a/src/bytecode.c
b/src/bytecode.c
index 82051779e8e4df72ede26af63d7390162a6a8e97..1ee5ae395578235afeb7caec5a2316bfad0b115d 100644
(file)
--- a/
src/bytecode.c
+++ b/
src/bytecode.c
@@
-1,5
+1,5
@@
/* Execution of byte code produced by bytecomp.el.
- Copyright (C) 1985, 1986, 1987, 1988, 1993, 2000, 2001
+ Copyright (C) 1985, 1986, 1987, 1988, 1993, 2000, 2001
, 2002
Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@
-1125,7
+1125,11
@@
If the third argument is incorrect, Emacs may crash. */)
TOP = v1;
}
else
- TOP = Fsub1 (v1);
+ {
+ BEFORE_POTENTIAL_GC ();
+ TOP = Fsub1 (v1);
+ AFTER_POTENTIAL_GC ();
+ }
break;
}